package org.javaboy.es_client03.dao;

import org.javaboy.es_client03.model.User;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface UserDao extends ElasticsearchRepository<User, Integer> {
    List<User> findUsersByUsername(String username);
}
